<include file="Public:header" />
<div class="ncenter_box">
<div class="accounttitle"><h1>代理中心管理 </h1></div>
<form name="form3" method="post" action="__URL__/adminAgentsAC">
    <div style="overflow-x: auto; overflow-y: auto; height: auto; width: auto;">
        <table width="100%" class="tab3" border="0" cellpadding="3" cellspacing="1" id="tb1" bgcolor="#b9c8d0" >
            <thead>
            <tr class="content_td" align="center">
                <th nowrap></th>
                <th nowrap><span>会员编号</span></th>
                <th nowrap><span>会员名</span></th>

                <!--<th nowrap><span>今日业绩</span></th>
                <th nowrap><span>总累计业绩</span></th>-->
                <th nowrap><span>代理级别</span></th>
                <th nowrap style="min-width: 80px;"><span>代理区域</span></th>
                <th nowrap><span>状态</span></th>
                <th nowrap><span>备注</span></th>
                <th nowrap><span>凭证</span></th>
                <th nowrap><span>申请时间</span></th>
                <th nowrap><span>确认时间</span></th>

            </tr>
            </thead>
            <volist name="list" id="vo" key='k'>
                <tr align="center">
                    <td><input id="checkbox" type="checkbox" name="tabledb[]" value="{$vo['id']}" class="btn2" /></td>
                    <td>{$vo['user_id']}&nbsp;</td>
                    <td><span class="STYLE1">{$vo['name']}</span>&nbsp;</td>

                    <!--<td>{$vo['f4_today']}</td>
                    <td>(￥{$vo['agent_kt']})</td>-->
                    <td>{$Aname[$vo['shoplx']-1]}<eq name="vo['shoplx']" value="0">{$vo['shop_b']}</eq></td>
                    <td >
                        {$vo['shop_a']} - {$vo['shop_b']}
                        <!--<eq name="vo['shoplx']" value="0">{$vo['shop_b']}</eq>
                        <eq name="vo['shoplx']" value="1">{ / $vo['shop_b']}</eq>-->
                        <eq name="vo['shoplx']" value="2">
                            <if condition="$vo['shop_c'] neq null">
                                    {$vo['shop_c']}
                            </if>
                        </eq>
                    </td>
                    <td><gt name="vo['is_agent']" value="1">
                            <font color="#009900">已确认</font>
                        <else />
                            <eq name="vo['is_aa']" value="1">
                                <font color="#FF0000">申请激活</font>
                            <else/>
                                未申请
                            </eq>
                        </gt>&nbsp;
                    </td>
                    <td><a href="__URL__/adminAgentsShow/Sid/{$vo['id']}/">点击查看</a></td>
                    <td>
                        <gt name="vo['lang']" value="0">
                            <a href="{$vo['lang']}" style="color: #0000B0" target="_blank">查看凭证</a>
                            <else />
                            无凭证
                        </gt>
                    </td>
                    </gt>
                    <td>{$vo.idt|date='Y-m-d H:i:s',###}&nbsp;</td>
                    <td><eq name="vo['is_agent']" value="2">{$vo.adt|date='Y-m-d H:i:s',###}</eq>&nbsp;</td>
                </tr>
            </volist>
        </table>
    </div>

<table width="100%" class="tab3_bottom" border="0" cellpadding="0" cellspacing="1">
	<tr>
    	<td>&nbsp;&nbsp;
          <input name="全选" type="button" class="button_text" id="AllX" onclick="CheckAll(this.form)" value="全选" />&nbsp;&nbsp;
          <input type="submit" name="action" value="确认" class="button_text" onclick="{if(confirm('确定吗?')){return true;}return false;}">&nbsp;&nbsp;
            <input type="submit" name="action" value="删除" class="button_text" onclick="{if(confirm('确定删除吗?')){return true;}return false;}">&nbsp;&nbsp;
            <!--<input type="submit" name="action" value="统计下发" class="button_text" onclick="{if(confirm('确定统计下发吗?下发后总累计业绩将下发，并清零！')){return true;}return false;}">&nbsp;&nbsp;-->
          <!--<input name="button3" type="button" onclick="window.location.href='__URL__/financeDaoChu_BD/'" value="报单中心导出Excel表格" class="button_text" />-->
         </td>
    </tr>
</table>
</form>
<table width="100%" class="tab3_bottom" border="0" cellpadding="0" cellspacing="1">
	<tr>
        <td>{$page}</td>
    </tr>
</table>
<table width="600" align="center">
    <tr>
      <td>&nbsp;</td>
    </tr>
    <tr>
    <td align="center"><form method='post' action="__URL__/adminAgents/">搜索会员：<input type="text" name="UserID" title="帐号查询">
    <input type="submit" name="Submit" value="查询"  class="button_text"/>
    </form></td>
    </tr>
</table>
</div>
</body>
</html>
<script>new TableSorter("tb1");</script>
<include file="Public:footer" />